package cyou.breathe.blog.api.article.request;

import cyou.breathe.blog.api.article.request.condition.ArticleFolderIdAndAuthorIdQueryCondition;
import cyou.breathe.blog.api.article.request.condition.ArticleQueryCondition;
import lombok.*;

/**
 * @author: breathe
 * @createTime: 2025-09-03
 */
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class ArticleQueryRequest {

    private ArticleQueryCondition articleQueryCondition;

    public ArticleQueryRequest(Long folderId, Long authorId) {
        ArticleFolderIdAndAuthorIdQueryCondition articleFolderIdAndAuthorIdQueryCondition = new ArticleFolderIdAndAuthorIdQueryCondition(folderId, authorId);
        this.articleQueryCondition = articleFolderIdAndAuthorIdQueryCondition;
    }
}
